package main

import (
	"fmt"
	"sort"
)

func main() {
	a := []int{10, 2, 3, 100}
	sort.Ints(a)
	fmt.Println(a) // [2 3 10 100]

	b := []string{"melon", "banana", "caomei", "apple"}
	sort.Strings(b)
	fmt.Println(b) // [apple banana caomei melon]

	c := []float64{3.14, 5.25, 1.12, 4, 78}
	sort.Float64s(c)
	fmt.Println(c) // [1.12 3.14 4 5.25 78]

	fmt.Println(a, c)

}
